#! /bin/bash
ps -ef |egrep "php .*checkAccountsService.php" | awk '{print $2}' | xargs kill
nohup `which php` `pwd`/checkAccountsService.php >> /tmp/checkAccountsService.log &